package com.sanpu.kxe.business.main.contract;

import com.sanpu.kxe.base.IBaseExtraView;
import com.sanpu.kxe.base.IBasePresenter;
import com.sanpu.kxe.business.main.bean.AdviceOutput;

import java.util.List;

/**
 * Description：了难提交记录
 * Created by 薛勇军 on 2019/3/12.
 */

public interface AdviceListContract {

    interface View extends IBaseExtraView<Presenter> {
        /**
         * 显示了难列表
         */
        void showTaskListView(List<AdviceOutput> adviceOutputs, boolean isFirst);

        /**
         * 上拉加载状态
         */
        void showLoadMore(String loadMore);
    }

    interface Presenter extends IBasePresenter {

        /**
         * 获取了难任务列表
         */
        void getTaskList(int page);
    }
}
